<!DOCTYPE html>
<!-- saved from url=(0110)http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod -->
<html lang="en" dir="ltr" class="client-js"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Complete Roguelike Tutorial, using python+libtcod - RogueBasin</title>
<meta charset="UTF-8">
<meta name="generator" content="MediaWiki 1.19.2">
<link rel="shortcut icon" href="http://roguebasin.roguelikedevelopment.org/favicon.ico">
<link rel="search" type="application/opensearchdescription+xml" href="http://roguebasin.roguelikedevelopment.org/opensearch_desc.php" title="RogueBasin (en)">
<link rel="EditURI" type="application/rsd+xml" href="http://roguebasin.roguelikedevelopment.org/api.php?action=rsd">
<link rel="alternate" type="application/atom+xml" title="RogueBasin Atom feed" href="http://roguebasin.roguelikedevelopment.org/index.php?title=Special:RecentChanges&feed=atom">
<link rel="stylesheet" href="http://roguebasin.roguelikedevelopment.org/load.php?debug=false&lang=en&modules=mediawiki.legacy.commonPrint%2Cshared%7Cskins.monobook&only=styles&skin=monobook&*">
<!--[if IE 6]><link rel="stylesheet" href="/skins/monobook/IE60Fixes.css?303" media="screen" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" href="/skins/monobook/IE70Fixes.css?303" media="screen" /><![endif]--><style type="text/css" media="all">.js-messagebox{margin:1em 5%;padding:0.5em 2.5%;border:1px solid #ccc;background-color:#fcfcfc;font-size:0.8em}.js-messagebox .js-messagebox-group{margin:1px;padding:0.5em 2.5%;border-bottom:1px solid #ddd}.js-messagebox .js-messagebox-group:last-child{border-bottom:thin none transparent}

/* cache key: 133099-basin:resourceloader:filter:minify-css:7:8b08bdc91c52a9ffba396dccfb5b473c */


.mw-collapsible-toggle{float:right} li .mw-collapsible-toggle{float:none} .mw-collapsible-toggle-li{list-style:none}

/* cache key: 133099-basin:resourceloader:filter:minify-css:7:4250852ed2349a0d4d0fc6509a3e7d4c */
</style><meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" href="http://roguebasin.roguelikedevelopment.org/load.php?debug=false&lang=en&modules=site&only=styles&skin=monobook&*">
<style>a:lang(ar),a:lang(ckb),a:lang(fa),a:lang(kk-arab),a:lang(mzn),a:lang(ps),a:lang(ur){text-decoration:none}a.new,#quickbar a.new{color:#ba0000}

/* cache key: 133099-basin:resourceloader:filter:minify-css:7:c88e2bcd56513749bec09a7e29cb3ffa */
</style>

<script src="./Complete Roguelike Tutorial, using python+libtcod - RogueBasin_files/load.php"></script><script src="./Complete Roguelike Tutorial, using python+libtcod - RogueBasin_files/load(1).php"></script>
<script>if(window.mw){
mw.config.set({"wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"Complete_Roguelike_Tutorial,_using_python+libtcod","wgTitle":"Complete Roguelike Tutorial, using python+libtcod","wgCurRevisionId":36793,"wgArticleId":3565,"wgIsArticle":true,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Developing"],"wgBreakFrames":false,"wgPageContentLanguage":"en","wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgRelevantPageName":"Complete_Roguelike_Tutorial,_using_python+libtcod","wgRestrictionEdit":[],"wgRestrictionMove":[]});
}</script><script>if(window.mw){
mw.loader.implement("user.options",function($){mw.user.options.set({"ccmeonemails":0,"cols":80,"date":"default","diffonly":0,"disablemail":0,"disablesuggest":0,"editfont":"default","editondblclick":0,"editsection":1,"editsectiononrightclick":0,"enotifminoredits":0,"enotifrevealaddr":0,"enotifusertalkpages":1,"enotifwatchlistpages":0,"extendwatchlist":0,"externaldiff":0,"externaleditor":0,"fancysig":0,"forceeditsummary":0,"gender":"unknown","hideminor":0,"hidepatrolled":0,"highlightbroken":1,"imagesize":2,"justify":0,"math":1,"minordefault":0,"newpageshidepatrolled":0,"nocache":0,"noconvertlink":0,"norollbackdiff":0,"numberheadings":0,"previewonfirst":0,"previewontop":1,"quickbar":5,"rcdays":7,"rclimit":50,"rememberpassword":0,"rows":25,"searchlimit":20,"showhiddencats":0,"showjumplinks":1,"shownumberswatching":1,"showtoc":1,"showtoolbar":1,"skin":"monobook","stubthreshold":0,"thumbsize":2,"underline":2,"uselivepreview":0,"usenewrc":0,"watchcreations":0,"watchdefault":0,"watchdeletion":
0,"watchlistdays":3,"watchlisthideanons":0,"watchlisthidebots":0,"watchlisthideliu":0,"watchlisthideminor":0,"watchlisthideown":0,"watchlisthidepatrolled":0,"watchmoves":0,"wllimit":250,"variant":"en","language":"en","searchNs0":true,"searchNs1":false,"searchNs2":false,"searchNs3":false,"searchNs4":false,"searchNs5":false,"searchNs6":false,"searchNs7":false,"searchNs8":false,"searchNs9":false,"searchNs10":false,"searchNs11":false,"searchNs12":false,"searchNs13":false,"searchNs14":false,"searchNs15":false});;},{},{});mw.loader.implement("user.tokens",function($){mw.user.tokens.set({"editToken":"+\\","watchToken":false});;},{},{});

/* cache key: 133099-basin:resourceloader:filter:minify-js:7:74a832f2292f1f4d40d425d223444e78 */
}</script>
<script>if(window.mw){
mw.loader.load(["mediawiki.page.startup","mediawiki.legacy.wikibits","mediawiki.legacy.ajax"]);
}</script><script type="text/javascript" src="./Complete Roguelike Tutorial, using python+libtcod - RogueBasin_files/load(2).php"></script>
<style type="text/css"></style></head>
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject page-Complete_Roguelike_Tutorial_using_python_libtcod skin-monobook action-view">
<div id="globalWrapper">
<div id="column-content"><div id="content"><div id="mw-js-message" class="js-messagebox" style="display: none;"></div>
	<a id="top"></a>
	<div id="siteNotice"><div id="localNotice" lang="en" dir="ltr"></div></div>
	<h1 id="firstHeading" class="firstHeading"><span dir="auto">Complete Roguelike Tutorial, using python+libtcod</span></h1>
	<div id="bodyContent" class="mw-body">
		<div id="siteSub">From RogueBasin</div>
		<div id="contentSub"></div>
		<div id="jump-to-nav" class="mw-jump">Jump to: <a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod#column-one">navigation</a>, <a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod#searchInput">search</a></div>
		<!-- start content -->
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><table id="toc" class="toc"><tbody><tr><td><div id="toctitle"><h2>Contents</h2><span class="toctoggle">&nbsp;[<a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod#" class="internal" id="togglelink">hide</a>]&nbsp;</span></div>
<ul>
<li class="toclevel-1 tocsection-1"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod#Short_introduction"><span class="tocnumber">1</span> <span class="toctext"><b>Short introduction</b></span></a>
<ul>
<li class="toclevel-2 tocsection-2"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod#Welcome.21"><span class="tocnumber">1.1</span> <span class="toctext">Welcome!</span></a></li>
<li class="toclevel-2 tocsection-3"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod#Why_Python.3F"><span class="tocnumber">1.2</span> <span class="toctext">Why Python?</span></a></li>
<li class="toclevel-2 tocsection-4"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod#Why_libtcod.3F"><span class="tocnumber">1.3</span> <span class="toctext">Why libtcod?</span></a></li>
</ul>
</li>
<li class="toclevel-1 tocsection-5"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod#Start_the_tutorial"><span class="tocnumber">2</span> <span class="toctext">Start the tutorial</span></a></li>
<li class="toclevel-1 tocsection-6"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod#Extras"><span class="tocnumber">3</span> <span class="toctext">Extras</span></a></li>
<li class="toclevel-1 tocsection-7"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod#Other_languages"><span class="tocnumber">4</span> <span class="toctext">Other languages</span></a></li>
<li class="toclevel-1 tocsection-8"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod#Credits"><span class="tocnumber">5</span> <span class="toctext">Credits</span></a></li>
</ul>
</td></tr></tbody></table>
<p><br>
</p>
<h2> <span class="mw-headline" id="Short_introduction"> <b>Short introduction</b> </span></h2>
<h3> <span class="mw-headline" id="Welcome.21"> Welcome! </span></h3>
<p>Welcome to this tutorial! As you probably guessed, the goal is to have a one-stop-shop for all the info you need on how to build a good Roguelike from scratch. We hope you find it useful! But first, some quick Q&amp;A.
</p><p><br>
</p>
<h3> <span class="mw-headline" id="Why_Python.3F"> Why Python? </span></h3>
<p>Most people familiar with this language will tell you it's fun!  Python aims to be simple but powerful, and very accessible to beginners.  This tutorial would probably be much harder without it. We recommend that you install Python 2.7 and go through at least the first parts of the <a rel="nofollow" class="external text" href="http://docs.python.org/tutorial/">Python Tutorial</a>. (Note for Windows 7 64-bits users: install the 32-bits version, since the 64-bits version of Python seems to cause problems with libtcod.) This tutorial will be much easier if you've experimented with the language first. Remember that the <a rel="nofollow" class="external text" href="http://docs.python.org/library/index.html">Python Library Reference</a> is your friend -- the standard library has everything you might need and when programming you should be ready to search it for help on any unknown function you might encounter.
</p><p>Python 2 is the most used version, and it's very stable. Currently libtcod is not compatible with Python 3. There's also a section on <a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod#Other_languages" title="Complete Roguelike Tutorial, using python+libtcod">other languages</a>.
</p><p><br>
</p>
<h3> <span class="mw-headline" id="Why_libtcod.3F"> Why libtcod? </span></h3>
<p>If you haven't seen it in action yet, check out the <a rel="nofollow" class="external text" href="http://doryen.eptalys.net/libtcod/features/">features</a> and <a rel="nofollow" class="external text" href="http://doryen.eptalys.net/projects-2/">some projects</a> where it was used successfully. It's extremely easy to use and has tons of useful functions specific to RLs.
</p><p>The tutorial uses libtcod 1.5.1. If you would prefer to use version 1.5.0, follow the link at the top of each lesson and code page for the older version.
</p><p><br>
</p>
<h2> <span class="mw-headline" id="Start_the_tutorial">Start the tutorial</span></h2>
<p>Follow the first link to get started!
</p><p><br>
</p>
<ul><li> <b><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod,_part_1" title="Complete Roguelike Tutorial, using python+libtcod, part 1">Part 1: Graphics</a></b>
<dl><dd> Start your game right away by setting up the screen, printing the stereotypical @ character and moving it around with the arrow keys.
</dd></dl>
</li></ul>
<p><br>
</p>
<ul><li> <b><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod,_part_2" title="Complete Roguelike Tutorial, using python+libtcod, part 2">Part 2: The object and the map</a></b>
<dl><dd> This introduces two new concepts: the generic object system that will be the basis for the whole game, and a general map object that you'll use to hold your dungeon.
</dd></dl>
</li></ul>
<p><br>
</p>
<ul><li> <b><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod,_part_3" title="Complete Roguelike Tutorial, using python+libtcod, part 3">Part 3: The dungeon</a></b>
<dl><dd> Learn how to code up a neat little dungeon generator.
</dd></dl>
</li></ul>
<p><br>
</p>
<ul><li> <b><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod,_part_4" title="Complete Roguelike Tutorial, using python+libtcod, part 4">Part 4: Field-of-view and exploration</a></b>
<dl><dd> Display the player's field-of-view (FOV) and explore the dungeon gradually (also known as fog-of-war).
</dd></dl>
</li></ul>
<p><br>
</p>
<ul><li> <b><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod,_part_5" title="Complete Roguelike Tutorial, using python+libtcod, part 5">Part 5: Preparing for combat</a></b>
<dl><dd> Place some orcs and trolls around the dungeon (they won't stay there for long!). Also, deal with blocking objects and game states, which are important before coding the next part.
</dd></dl>
</li></ul>
<p><br>
</p>
<ul><li> <b><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod,_part_6" title="Complete Roguelike Tutorial, using python+libtcod, part 6">Part 6: Going Berserk!</a></b>
<dl><dd> Stalking monsters, fights, splatter -- need we say more?
</dd></dl>
</li></ul>
<p><br>
</p>
<ul><li> <b><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod,_part_7" title="Complete Roguelike Tutorial, using python+libtcod, part 7">Part 7: The GUI</a></b>
<dl><dd> A juicy Graphical User Interface with status bars and a colored message log for maximum eye-candy. Also, the infamous "look" command, with a twist: you can use the mouse.
</dd></dl>
</li></ul>
<p><br>
</p>
<ul><li> <b><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod,_part_8" title="Complete Roguelike Tutorial, using python+libtcod, part 8">Part 8: Items and Inventory</a></b>
<dl><dd> The player gets to collect ("borrow") items from the dungeon and use them, with a neat inventory screen. More items added in the next part.
</dd></dl>
</li></ul>
<p><br>
</p>
<ul><li> <b><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod,_part_9" title="Complete Roguelike Tutorial, using python+libtcod, part 9">Part 9: Spells and ranged combat</a></b>
<dl><dd> The player's strategic choices increase exponentially as we add a few magic scrolls to the mix. Covers damage and mind spells, as well as ranged combat.
</dd></dl>
</li></ul>
<p><br>
</p>
<ul><li> <b><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod,_part_10" title="Complete Roguelike Tutorial, using python+libtcod, part 10">Part 10: Main menu and saving</a></b> 
<dl><dd> A main menu complete with a background image and the ability to save and load the game.
</dd></dl>
</li></ul>
<p><br>
</p>
<ul><li> <b><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod,_part_11" title="Complete Roguelike Tutorial, using python+libtcod, part 11">Part 11: Dungeon levels and character progression</a></b>
<dl><dd> Let the player venture deeper into the dungeon and grow stronger, including experience gain, levels and raising stats!
</dd></dl>
</li></ul>
<p><br>
</p>
<ul><li> <b><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod,_part_12" title="Complete Roguelike Tutorial, using python+libtcod, part 12">Part 12: Monster and item progression</a></b>
<dl><dd> Deeper dungeon levels become increasingly more difficult! Here we create tools for dealing with chances and making them vary with level.
</dd></dl>
</li></ul>
<p><br>
</p>
<ul><li> <b><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod,_part_13" title="Complete Roguelike Tutorial, using python+libtcod, part 13">Part 13: Adventure gear</a></b>
<dl><dd> Swords, shields and other equipment can now help the player by granting hefty bonuses. The bonus system can also be used for all kinds of magics and buffs!
</dd></dl>
</li></ul>
<p><br>
</p>
<h2> <span class="mw-headline" id="Extras">Extras</span></h2>
<p>Some stuff that is entirely optional and didn't make it in; check this out if you finished the tutorial and are looking for some modifications and improvements to your game -- some are easy, others are more advanced.
</p><p><br>
</p>
<ul><li> <b><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_Python%2Blibtcod,_extras#A_neat_Python_shortcut_for_Notepad.2B.2B" title="Complete Roguelike Tutorial, using Python+libtcod, extras">A neat Python shortcut for Notepad++</a></b>
<dl><dd> For Notepad++ users, how to set up a shortcut to help you debugging.
</dd></dl>
</li></ul>
<ul><li> <b><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_Python%2Blibtcod,_extras#Old-school_wall_and_floor_tiles" title="Complete Roguelike Tutorial, using Python+libtcod, extras">Old-school wall and floor tiles</a></b>
<dl><dd> Using characters in tiles, without getting weird graphical glitches. This is actually very simple.
</dd></dl>
</li></ul>
<ul><li> <b><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_Python%2Blibtcod,_extras#Real-time_combat" title="Complete Roguelike Tutorial, using Python+libtcod, extras">Real-time combat</a></b>
<dl><dd> A speed system to change the tutorial's turn-based combat to real-time!
</dd></dl>
</li></ul>
<ul><li> <b><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod,_extras_scrolling_code" title="Complete Roguelike Tutorial, using python+libtcod, extras scrolling code">Scrolling maps</a></b> 
<dl><dd> Placeholder page for the scrolling map code. Tutorial text will be written soon.
</dd></dl>
</li></ul>
<ul><li> <b><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_Python%2Blibtcod,_extras#Creating_a_Binary" title="Complete Roguelike Tutorial, using Python+libtcod, extras">Creating a Binary</a></b>
<dl><dd> Package and deliver your game the nice way!
</dd></dl>
</li></ul>
<p><br>
</p>
<h2> <span class="mw-headline" id="Other_languages"> Other languages </span></h2>
<p>A partial, work-in-progress C++ port of this tutorial can be found <a rel="nofollow" class="external text" href="http://codeumbra.eu/complete-roguelike-tutorial-using-c-and-libtcod-part-1-setting-up">here</a>.
</p><p><br>
</p>
<h2> <span class="mw-headline" id="Credits">Credits</span></h2>
<p>Code and tutorial written by João F. Henriques (a.k.a. Jotaf). Thanks go out to George Oliver for helping with the layout, sections rearrangement, and syntax highlighting; Teddy Leach for his text reviews; and all the folks in the libtcod forums for their valuable feedback!
</p><p>Feel free to stop by the <a rel="nofollow" class="external text" href="http://doryen.eptalys.net/forum/index.php?board=20.0">libtcod/Python forum</a> or the <a rel="nofollow" class="external text" href="http://doryen.eptalys.net/forum/index.php?topic=328.0">forum on this tutorial</a> if you're stuck, to show your own project, or just to say hi! It's always cool to get some feedback on the tutorial, and hear about other roguelikes in development.
</p>
<!-- 
NewPP limit report
Preprocessor node count: 31/1000000
Post-expand include size: 0/2097152 bytes
Template argument size: 0/2097152 bytes
Expensive parser function count: 0/100
-->

<!-- Saved in parser cache with key 133099-basin:pcache:idhash:3565-0!*!0!!en!*!* and timestamp 20131206074533 -->
</div><div class="printfooter">
Retrieved from "<a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod&oldid=36793">http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod&amp;oldid=36793</a>"</div>
		<div id="catlinks" class="catlinks"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Special:Categories" title="Special:Categories">Category</a>: <ul><li><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Category:Developing" title="Category:Developing">Developing</a></li></ul></div></div>		<!-- end content -->
				<div class="visualClear"></div>
	</div>
</div></div>
<div id="column-one">
	<div id="p-cactions" class="portlet">
		<h5>Views</h5>
		<div class="pBody">
			<ul>
				<li id="ca-nstab-main" class="selected"><a href="./Complete Roguelike Tutorial, using python+libtcod - RogueBasin_files/Complete Roguelike Tutorial, using python+libtcod - RogueBasin.html" primary="1" context="subject" title="View the content page [alt-c]" accesskey="c">Page</a></li>
				<li id="ca-talk"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Talk:Complete_Roguelike_Tutorial,_using_python%2Blibtcod" primary="1" context="talk" title="Discussion about the content page [alt-t]" accesskey="t">Discussion</a></li>
				<li id="ca-viewsource"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod&action=edit" primary="1" title="This page is protected.
You can view its source [alt-e]" accesskey="e">View source</a></li>
				<li id="ca-history"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod&action=history" rel="archives" title="Past revisions of this page [alt-h]" accesskey="h">History</a></li>
			</ul>
		</div>
	</div>
	<div class="portlet" id="p-personal">
		<h5>Personal tools</h5>
		<div class="pBody">
			<ul>
				<li id="pt-login"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Special:UserLogin&returnto=Complete+Roguelike+Tutorial%2C+using+python%2Blibtcod" title="You are encouraged to log in; however, it is not mandatory [alt-o]" accesskey="o">Log in / create account</a></li>
			</ul>
		</div>
	</div>
	<div class="portlet" id="p-logo">
<a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Main_Page" style="background-image: url(/skins/roguebasin/RogueBasin_logo.png);" title="Visit the main page"></a>
	</div>
	<div class="generated-sidebar portlet" id="p-navigation">
		<h5>Navigation</h5>
		<div class="pBody">
			<ul>
				<li id="n-mainpage"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Main_Page" title="Visit the main page [alt-z]" accesskey="z">Main Page</a></li>
				<li id="n-portal"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=RogueBasin:Community_portal" title="About the project, what you can do, where to find things">Community portal</a></li>
				<li id="n-recentchanges"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Special:RecentChanges" title="A list of recent changes in the wiki [alt-r]" accesskey="r">Recent changes</a></li>
				<li id="n-randompage"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Special:Random" title="Load a random page [alt-x]" accesskey="x">Random page</a></li>
				<li id="n-help"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Help" title="The place to find out">Help</a></li>
			</ul>
		</div>
	</div>
	<div id="p-search" class="portlet">
		<h5><label for="searchInput">Search</label></h5>
		<div id="searchBody" class="pBody">
			<form action="http://roguebasin.roguelikedevelopment.org/index.php" id="searchform">
				<input type="hidden" name="title" value="Special:Search">
				<input type="search" name="search" title="Search RogueBasin [alt-f]" accesskey="f" id="searchInput">
				<input type="submit" name="go" value="Go" title="Go to a page with this exact name if exists" id="searchGoButton" class="searchButton">&nbsp;
				<input type="submit" name="fulltext" value="Search" title="Search the pages for this text" id="mw-searchButton" class="searchButton">
			</form>
		</div>
	</div>
	<div class="portlet" id="p-tb">
		<h5>Toolbox</h5>
		<div class="pBody">
			<ul>
				<li id="t-whatlinkshere"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Special:WhatLinksHere/Complete_Roguelike_Tutorial,_using_python%2Blibtcod" title="A list of all wiki pages that link here [alt-j]" accesskey="j">What links here</a></li>
				<li id="t-recentchangeslinked"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Special:RecentChangesLinked/Complete_Roguelike_Tutorial,_using_python%2Blibtcod" title="Recent changes in pages linked from this page [alt-k]" accesskey="k">Related changes</a></li>
				<li id="t-specialpages"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Special:SpecialPages" title="A list of all special pages [alt-q]" accesskey="q">Special pages</a></li>
				<li><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod&printable=yes" rel="alternate">Printable version</a></li>
				<li id="t-permalink"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=Complete_Roguelike_Tutorial,_using_python%2Blibtcod&oldid=36793" title="Permanent link to this revision of the page">Permanent link</a></li>
			</ul>
		</div>
	</div>
</div><!-- end of the left (by default at least) column -->
<div class="visualClear"></div>
<div id="footer">
	<div id="f-poweredbyico">
		<a href="http://www.mediawiki.org/"><img src="./Complete Roguelike Tutorial, using python+libtcod - RogueBasin_files/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" width="88" height="31"></a>
	</div>
	<ul id="f-list">
		<li id="lastmod"> This page was last modified on 22 November 2013, at 04:27.</li>
		<li id="viewcount">This page has been accessed 101,642 times.</li>
		<li id="privacy"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=RogueBasin:Privacy_policy" title="RogueBasin:Privacy policy">Privacy policy</a></li>
		<li id="about"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=RogueBasin:About" title="RogueBasin:About">About RogueBasin</a></li>
		<li id="disclaimer"><a href="http://roguebasin.roguelikedevelopment.org/index.php?title=RogueBasin:General_disclaimer" title="RogueBasin:General disclaimer">Disclaimers</a></li>
	</ul>
</div>
</div>
<script>if(window.mw){
mw.loader.load(["mediawiki.user","mediawiki.page.ready"], null, true);
}</script><script src="./Complete Roguelike Tutorial, using python+libtcod - RogueBasin_files/load(3).php" type="text/javascript"></script>
<script src="./Complete Roguelike Tutorial, using python+libtcod - RogueBasin_files/load(4).php"></script>
<!-- Served in 0.251 secs. --><autoscroll_cursor hidden="" class="vertical"></autoscroll_cursor></body></html>